package com.javaclimb.music.service;

import com.javaclimb.music.domain.Rank;

/*
 * 评价Service*/
public interface RankService {
    /*增加*/
    public boolean insert(Rank rank);

    /*查总分*/
    public int selectScoreSum(Integer songListId);

    /*查总评分人数*/
    public int selectRankNum(Integer songListId);

    /*平均分*/
    public int rankOfSongListId(Integer songListId);
}
